OPC Studio User's Guide and Reference
ExceptionCollection Constructor(IEnumerable<Exception>)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.Specialized Namespace > ExceptionCollection Class > ExceptionCollection Constructor : ExceptionCollection Constructor(IEnumerable<Exception>)

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the collection, with given items.
Syntax
'Declaration
 
Public Function New( _
   ByVal items As IEnumerable(Of Exception) _
)
'Usage
 
Dim items As IEnumerable(Of Exception)
 
Dim instance As New ExceptionCollection(items)
public ExceptionCollection( 
   IEnumerable<Exception> items
)
public:
ExceptionCollection( 
   IEnumerable<Exception^>^ items
)

Parameters

items

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also